﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TCG.Engine.Libraries
{
//    <Decks>
//    <Deck>
//        <Id>1</Id>
//        <Title>1234</Title>
//        <Cards>
//            <Card>
//                <Id>dd</Id>
//                <Count>2</Count>
//            </Card>
//        </Cards>
//    </Deck>
//</Decks>
    [XmlType("Deck")]
    public class DeckInfo
    {
        public string Id { get; set; }
        public string Title { get; set; }
        public List<DeckCardInfo> Cards { get; set; }
    }

    [XmlType("Card")]
    public class DeckCardInfo
    {
        public string Id { get; set; }
        public int Count { get; set; }
    }

    [XmlType("Decks")]
    public class DecksInfo: List<DeckInfo>
    {

    }
}
